package com.qujia.station.mapper;

import com.qujia.station.domain.WarehouseBatch;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WarehouseBatchMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WarehouseBatch record);

    int insertSelective(WarehouseBatch record);

    WarehouseBatch selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WarehouseBatch record);

    int updateByPrimaryKey(WarehouseBatch record);

    WarehouseBatch selectLastWarehouseBatch(WarehouseBatch warehouseBatch);

    WarehouseBatch selectWarehouseBatch(WarehouseBatch warehouseBatch);

    List<WarehouseBatch> selectWarehouseBatchList(WarehouseBatch warehouseBatch);

    WarehouseBatch selectWarehouseBatchById(@Param("id") Long id);
}